home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / nfttemplate.h < prev    next >
Encoding:
C/C++ Source or Header  |  2009-02-16  |  1.1 KB  |  44 lines

  1. /*
  2. For general Scribus (>=1.3.2) copyright and licensing information please refer
  3. to the COPYING file provided with the program. Following this notice may exist
  4. a copyright and/or license notice that predates the release of Scribus 1.3.2
  5. for which a new license (GPL+exception) is in place.
  6. */
  7. /***************************************************************************
  8.  *   Riku Leino, tsoots@gmail.com                                          *
  9.  ***************************************************************************/
  10. #ifndef NFTTEMPLATE_H
  11. #define NFTTEMPLATE_H
  12.  
  13. #include <QString>
  14. #include <QFile>
  15. #include <QTextStream>
  16.  
  17. class nfttemplate {
  18. public:
  19.     nfttemplate(QFile* tmplXmlFile, const QString &tmplType);
  20.     ~nfttemplate();
  21.     QFile* tmplXml;
  22.     QString enCategory;
  23.     QString templateCategory;
  24.     QString name;
  25.     QString file;
  26.     QString tnail;
  27.     QString img;
  28.     QString psize;
  29.     QString color;
  30.     QString descr;
  31.     QString usage;
  32.     QString scribusVersion;
  33.     QString date;
  34.     QString author;
  35.     QString email;
  36.     bool isWritable;
  37.     bool isDeleted;
  38.     void remove();
  39.     bool canWrite();
  40.     bool isValid();
  41. };
  42.  
  43. #endif // NFTTEMPLATE_H
  44.